﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>修改用户</title>
</head>
<body>
    <div style="padding: 15px; overflow: hidden">
        <form id="UserEditForm" method="post" action="">



            <table class="tableForm" width="100%">
                <tr>
                    <th>
                        登录账号：
                    </th>
                    <td>
                        <input type="hidden" name="hidid" id="hidid" />
                        <input type="hidden" name="hidoriginalName" id="hidoriginalName" />
                        <input type="text" name="txtUserIDEdit" id="txtUserIDEdit" readonly="readonly" disabled="disabled" class="easyui-validatebox textbox"
                               data-options="required:true,validType:'username'" style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        用户名称：
                    </th>
                    <td>
                        <input type="text" name="txtUserNameEdit" id="txtUserNameEdit" readonly="readonly" disabled="disabled" class="easyui-validatebox textbox"
                               data-options="required:true,validType:'length[2,20]'" style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        省/直辖市：
                    </th>
                    <td>
                        <input id="province" class="easyui-combobox" style="width:100px"
                               data-options="{
url:'/GIS/getRegion?pRegionCode=0',
valueField:'regionCode',
textField:'regionName',
onSelect:function(region){
$('#city').combobox('clear'); //清除原有项目
$('#county').combobox('clear'); //清除原有项目

$('#city').combobox('reload','/GIS/getRegion?pRegionCode='+region.regionCode);
 


//alert('选择了省='+region.regionID)

}}">

                    </td>
                </tr>
                <tr>
                    <th>
                        城市：
                    </th>
                    <td>


                        <input id="city" class="easyui-combobox" style="width:100px"
                               data-options="{
 
valueField:'regionCode',
textField:'regionName',
onSelect:function(region){

$('#county').combobox('clear'); //清除原有项目

$('#county').combobox('reload','/GIS/getRegion?pRegionCode='+region.regionCode);
}}">
                    </td>
                </tr>
                <tr>
                    <th>
                        区/县：
                    </th>
                    <td>

                        <input id="county" class="easyui-combobox" style="width:100px"
                               data-options="{
 
valueField:'regionCode',
textField:'regionName'
}">
                    </td>
                </tr>

                <tr>
                    <th>
                        详细地址：
                    </th>
                    <td>
                        <textarea rows="3" cols="50" name="describe" id="describe" class="easyui-validatebox textbox" data-options="required:false,validType:'length[1,100]'"></textarea>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>
